<template>
    <view @tap="__e" class="item-scope data-v-d9427bde" :data-event-opts="[['tap', [['toProductDetail', ['$0'], ['index']]]]]">
        <image class="thumb data-v-d9427bde" mode="aspectFill" :src="info.thumb + '?x-oss-process=image/resize,w_300'"></image>
        <view class="product-info data-v-d9427bde">
            <view class="product-title data-v-d9427bde">{{ '' + info.title + '' }}</view>
            <view class="product-attrs gray data-v-d9427bde" v-if="$root.g0">{{ '' + $root.f0 + '' }}</view>
            <view class="price-c data-v-d9427bde">
                <price-display @__l="__l" class="data-v-d9427bde" :info="info" vueId="00b83260-1"></price-display>
            </view>
        </view>
        <view class="count-c data-v-d9427bde">{{ 'x' + info.total + '' }}</view>
    </view>
</template>

<script>
import priceDisplay from '@/components/PriceDisplay/PriceDisplay';
import tabBar from '@/components/TabBar/tabBar';
(global.webpackJsonp = global.webpackJsonp || []).push([
    ['components/SkuItem/SkuItem'],
    {
        '0fd6': function (t, e, n) {},
        '142c': function (t, e, n) {
            'use strict';

            var o = n('0fd6');
            n.n(o).a;
        },
        '155d': function (t, e, n) {
            'use strict';

            (function (t) {
                var o = n('4ea4');
                Object.defineProperty(e, '__esModule', {
                    value: true
                });
                e.default = void 0;
                var u = {
                    mixins: [o(n('452d')).default],
                    props: {
                        info: {
                            type: Object
                        },
                        disableClick: {
                            type: Boolean,
                            default: function () {
                                return false;
                            }
                        }
                    },
                    filters: {},
                    methods: {
                        toProductDetail: function (e) {
                            if (this.disableClick) {
                                return false;
                            }
                            var n = this.info;
                            if ('product' === n.product_type) {
                                t.navigateTo({
                                    url: '/pages/productDetail/index?uuid=' + n.product_uuid
                                });
                            } else {
                                if ('box' === n.product_type) {
                                    t.navigateTo({
                                        url: '/pages/boxDetail/index?uuid=' + n.product_uuid
                                    });
                                }
                            }
                        }
                    }
                };
                e.default = u;
            }.call(this, n('543d').default));
        },
        '3c3e': function (t, e, n) {
            'use strict';

            n.r(e);
            var o = n('8f3d');
            var u = n('e253');
            for (var i in u) {
                if (['default'].indexOf(i) < 0) {
                    (function (t) {
                        n.d(e, t, function () {
                            return u[t];
                        });
                    })(i);
                }
            }
            n('142c');
            var c = n('f0c5');
            var r = Object(c.a)(u.default, o.b, o.c, false, null, 'd9427bde', null, false, o.a, void 0);
            e.default = r.exports;
        },
        '8f3d': function (t, e, n) {
            'use strict';

            n.d(e, 'b', function () {
                return u;
            });
            n.d(e, 'c', function () {
                return i;
            });
            n.d(e, 'a', function () {
                return o;
            });
            var o = {
                PriceDisplay: function () {
                    return n.e('components/PriceDisplay/PriceDisplay').then(n.bind(null, '6b05'));
                }
            };
            var u = function () {
                this.$createElement;
                var t = (this._self._c, this.info.attrs && this.info.attrs.length);
                if (t) {
                    var e = this._f('productAttrsToString')(this.info.attrs);
                } else {
                    var e = null;
                }
                this.setData(
                    Object.assign(
                        {},
                        {
                            $root: {
                                g0: t,
                                f0: e
                            }
                        }
                    )
                );
            };
            var i = [];
        },
        e253: function (t, e, n) {
            'use strict';

            n.r(e);
            var o = n('155d');
            var u = n.n(o);
            for (var i in o) {
                if (['default'].indexOf(i) < 0) {
                    (function (t) {
                        n.d(e, t, function () {
                            return o[t];
                        });
                    })(i);
                }
            }
            e.default = u.a;
        }
    }
]);
(global.webpackJsonp = global.webpackJsonp || []).push([
    'components/SkuItem/SkuItem-create-component',
    {
        'components/SkuItem/SkuItem-create-component': function (t, e, n) {
            n('543d').createComponent(n('3c3e'));
        }
    },
    [['components/SkuItem/SkuItem-create-component']]
]);
</script>
<style>
@import './SkuItem.css';
</style>
